package com.example.springbootgraduation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 每张表必备要id create_time update_time
 */
//菜单实体类
@TableName("menu")
@Data
public class Menu {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private Integer pid;//父级ID
    private String type;
    private String title;
    private String permission;//权限
    private String icon;//图标
    private String href;
    private Integer open;//是否打开
    private Integer ordernum;
    private Integer available;
}
